package com.yuntcm.group6.med_booking.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("user")
public class User {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private String username;
    private String password;
    private String realName;

    private Integer gender;
    private Integer userType;
    private Integer status;
    // 数据库 varchar 对应 Java String，
    private String createdAt;

}